﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Admin Console</title>
<%@page import="java.util.*" %>
<%
	String Code = (String)session.getAttribute("LanguageCode");
	String SubCode = (String)session.getAttribute("LanguageSubcode");
	Boolean isIncludetax = (Boolean)session.getAttribute("isIncludetax");
	String symbol = (String)session.getAttribute("symbol");
    Locale locale = new Locale(Code, SubCode);
	ResourceBundle resource = ResourceBundle.getBundle("resource", locale);
%>
<link href="/css/Adminconsole/Main.css" rel="stylesheet" />
<link href="/css/custom/jquery-ui-1.9.1.custom.min.css" rel="stylesheet" />
<link href="/css/Adminconsole/dialog.css" rel="stylesheet" />
<link href="/css/custom/loading.css" rel="stylesheet" />
<link href="/css/components/blocked/popup/popup.css" rel="stylesheet" />

<script src="/js/jquery-1.8.3.min.js"></script>
<script src="/js/jquery-ui-1.9.1.custom.min.js"></script>
<script src="/js/simpleservice.js"></script>
<script src="/js/sharedData.js"></script>
<script src="/js/adminconsole/AdminShareData.js"></script>

<script src="/js/loading.js"></script>
<script src="/js/adminconsole/POSManager/PointPos/pointPos.js"></script>
<script src="/js/adminconsole/POSManager/POSCategories/POSCategories.js"></script>
<script src="/js/adminconsole/POSManager/POSProduct/POSProduct.js"></script>
<script src="/js/adminconsole/POSManager/POSZone/POSZone.js"></script>
<script src="/js/adminconsole/POSManager/POSCounter/POSCounter.js"></script>
<script src="/js/adminconsole/POSManager/POSTable/POSTable.js"></script>
<script src="/js/pointerDialog.js"></script>
<script src="/js/adminconsole/EditDialog.js"></script>
<jsp:include page="/adminconsole/language.jsp" flush="true" />

<script>
$(function() {
	label_add= "<% out.print(resource.getString("AdminConsole.Page.Pos.dialogTitle"));%>";
	label_addProduct = "<% out.print(resource.getString("AdminConsole.Page.POSItem.add"));%>";
	label_addCate="<% out.print(resource.getString("AdminConsole.Page.POSCategories.add"));%>";
	label_addSub="<% out.print(resource.getString("AdminConsole.Page.POSSubcategories.Add"));%>";
	label_addZone="<% out.print(resource.getString("AdminConsole.Page.POSZone.add"));%>";
	label_addCounter = "<% out.print(resource.getString("AdminConsole.Page.POSCounter.add"));%>";
	isIncludetax = "<% out.print(isIncludetax);%>";
	symbol = "<% out.print(symbol);%>"
});
</script>

</head>
<body>
	<header>
		<div class="brand">
			<div name="hotelName"><h2>iHotel</h2></div>
			<div name="pageName">Admin Console</div>
            	<jsp:include page="../../../adminconsole/menu.jsp" flush="true" />
		</div>
	</header>
	<div class="main">
		<div class="breadcrumb" id="titleLinkPOSCategory">
			<% out.print(resource.getString("AdminConsole.Page.Pos.Tilte"));%>
		</div>
        <div class="destitle" id="suggestCategory"><% out.print(resource.getString("AdminConsole.Page.Pos.suggest"));%></div>
		<div class="content">
			<table cellpadding="0" cellspacing="0">
				<tr>
					<td>
						<div class="titlelist" id="listCategory"><span><% out.print(resource.getString("AdminConsole.Page.Pos.list"));%></span><span id="listsize">&nbsp;(0)</span></div>
					</td>
				</tr>
				<tr>
					<td>
						<span id="addCategory"><input class="addbtn" name="addtaxes" value="<% out.print(resource.getString("AdminConsole.Page.Pos.add"));%>" type="button" onClick="gotoaddPOSPoint($(this))"></span>
					</td>
				</tr>
				<tr>
					<td class="tableheadtop">
						<span style="padding-left:10px" id="delCategory"><input class="deletebtn" name="deletetaxes" value="<% out.print(resource.getString("AdminConsole.Page.Pos.del"));%>" type="button" onClick="deletePosPoint()"></span>
						<span name="filterPOS" style="float:right;margin-right:20px;display:none;">
							<select style="width:200px;" id="categoryId" onChange="showPOSProduct()">
							</select>
						</span>
						<span name="filterPOS" style="float:right;margin-right:10px;display:none;">
							Filter:
							<select style="width:150px;" id="pospoint" onChange="showPOSProduct()" >
							</select>
						</span>
						<span style="padding-left:30px"><input name="" type="text" placeholder="Search Taxes"></span>
					</td>
	
				</tr>
				<tr>
					<td><div class="headarraow">&nbsp;</div>
					</td>
				</tr>
				<tr>
					<td>
						<table style="width:100%;border:none;text-align:center" cellpadding="0" cellspacing="0" id="showList">
							<tr>
								<td style="width:12px" class="tablehead titlecenter"><strong>#</strong></td>
								<td style="width:3%" class="tablehead titleleft"><input type="checkbox" name="checkbox5" value="checkbox" onClick="toggleSelect()"></td>
								<td class="tablehead titleleft"><% out.print(resource.getString("AdminConsole.Page.Pos.name"));%></td>
								<td class="tablehead titlecenter"><% out.print(resource.getString("AdminConsole.Page.Pos.Categories"));%></td>
								<td class="tablehead"><% out.print(resource.getString("AdminConsole.Page.Pos.Products"));%></th>
								<td class="tablehead titlecenter"><% out.print(resource.getString("AdminConsole.Page.Pos.zone"));%></td>
								<td class="tablehead titlecenter"><% out.print(resource.getString("AdminConsole.Page.Pos.counter"));%></td>
								<td class="tablehead titlecenter"><% out.print(resource.getString("AdminConsole.Page.Pos.Action"));%></td>
								<td class="tablehead titlecenter"><% out.print(resource.getString("AdminConsole.Page.Pos.Status"));%></td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</div>
	</div>

	<div id="BlankDialog" style="display:none; padding:5px 0 0 10px;"></div>
	<div id="loadingScreen"></div>
	<div name="dynamic" style="display:none"></div>
	<script>$(showPOS());</script>
</body>

</html>